package com.bw.live_streaming.feign;

import com.bw.live_streaming.vo.TbPatientEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.*;

@FeignClient("medical")
public interface MedicalFeign {
    @RequestMapping("medical/tbpatient/infos")
    TbPatientEntity kan(@RequestParam("patientId") Integer patientId);
    @RequestMapping("medical/tbdockerlevel/userId")
    Integer doctorname(@RequestParam("userId") Integer userId);
}
